<!DOCTYPE html>
<html lang="zh-CN">
  <head>
        ${pageHead}
  </head>
  <style>
  	.formbtn {
  	  text-align:center;
  	}
  </style>
  <body style="padding-top:0px">
        <!-- 主内容区域 S -->
 		<div class="" id="mainBoard">
        
		<form action="update.do" method="post">
		    ${hideContent}
		    <#list columns as column>
	    	<#if column.propertyName != "id">
	            <div class="input-group">
	                <span class="input-group-addon" id="basic-addon2">${column.columnComment}</span>
	                <input class="form-control" id="${column.propertyName}" placeholder="${column.propertyName}" aria-describedby="basic-addon5" name="${column.propertyName}" value="{entity.${column.propertyName}?if_exists}">
	            </div>
            </#if>
            </#list>
            		<div class="formbtn"><button type="submit" class="btn-primary">提交</button></div>
		</form>
		<form id="addForm" action="save.do" method="post" enctype="multipart/form-data">
			<#list columns as column>
	    	<#if column.propertyName != "id">
	            <div class="input-group">
	                <span class="input-group-addon" id="basic-addon2">${column.columnComment}</span>
	      			<input class="form-control" id="${column.propertyName}" placeholder="${column.propertyName}" aria-describedby="basic-addon5" name="${column.propertyName}">
	            </div>
            </#if>
            </#list>
            		<div class="formbtn"><button type="button" class="btn-primary" onclick="addForm()">提交</button></div>
		</form>
		<!-- 内容区 E -->
 		<!-- 主内容区域 E -->
		
 	</div>
  </body>
</html>
